package com.yjd.comm.credit.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：用户信用额度使用流水模型<br>
 * <b>time</b>：2017-06-26 13:48:05 <br>
 * <b>author</b>：  yangchangyan@yijiedai.com
 */
public class CreditLineDataModel extends Model{

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;
	
	 /*
	  *唯一id 
	  */
	private Long id;
	 /*
	  *用户id 
	  */
	private Long user_id;
	 /*
	  *发生额 
	  */
	private Double cost;
	 /*
	  *发生标志(-1：使用额度，0：额度不变，1：还款后释放额度) 
	  */
	private Integer type;
	 /*
	  *剩余额度 
	  */
	private Double residual_amount;
	 /*
	  *关联类型（项目） 
	  */
	private String ref_type;
	 /*
	  *关联id 
	  */
	private Long ref_id;
	 /*
	  *新增时间 
	  */
	private Long create_time;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUser_id() {
		return user_id;
	}

	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

	public Double getCost() {
		return cost;
	}

	public void setCost(Double cost) {
		this.cost = cost;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Double getResidual_amount() {
		return residual_amount;
	}

	public void setResidual_amount(Double residual_amount) {
		this.residual_amount = residual_amount;
	}

	public String getRef_type() {
		return ref_type;
	}

	public void setRef_type(String ref_type) {
		this.ref_type = ref_type;
	}

	public Long getRef_id() {
		return ref_id;
	}

	public void setRef_id(Long ref_id) {
		this.ref_id = ref_id;
	}

	public Long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}
}
